<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class Field_Checkbox extends Field_Abstract {

  protected $type = 'checkbox';

  public function getHtml() {
    return sprintf('<input name="%s" type="%s" value="%s" %s />', $this->getName(), $this->_type, $this->getValue(), $this->getExtras());
  }

  
}
